﻿<Window x:Class="TicTacToe.UI.Statistics.StatisticsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Statistics" Height="459" Width="437"
        x:ClassModifier="internal" Icon="..\..\3dtictactoe.png">
    <TabControl>
        <TabItem Header="General Statistics">
            <ScrollViewer VerticalScrollBarVisibility="Auto">
                <StackPanel Orientation="Vertical" VerticalAlignment="Top" Name="generalStats" />
            </ScrollViewer>
        </TabItem>
        <TabItem Header="Player-specific Statistics">
            <Grid>
                <Label Content="Select Player" Height="28" HorizontalAlignment="Left" Margin="6,6,0,0" VerticalAlignment="Top" />
                <ComboBox VerticalAlignment="Top" Name="nameComboBox" Margin="89,8,151,0" Height="24" ItemsSource="{Binding}" SelectionChanged="nameComboBox_SelectionChanged" />
                <ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0,40,0,0">
                    <StackPanel Orientation="Vertical" VerticalAlignment="Top" Name="specificStats" />
                </ScrollViewer>
            </Grid>
        </TabItem>
        <TabItem Header="Database Information">
            <Grid>
                <Label Content="Database Size:" Height="28" HorizontalAlignment="Left" Margin="6,6,0,0" VerticalAlignment="Top" />
                <Label Content="DBSIZE" Height="28" HorizontalAlignment="Left" Margin="98,6,0,0" Name="dbSizeLabel" VerticalAlignment="Top" />
                <Button Content="Wipe Database" HorizontalAlignment="Left" Margin="6,0,0,6" Name="wipeDbButton" Width="100" Height="23" VerticalAlignment="Bottom" Click="wipeDbButton_Click" />
                <CheckBox Content="Enable Data Collection" Height="16" HorizontalAlignment="Left" Margin="112,0,0,9" Name="checkBox1" VerticalAlignment="Bottom" Checked="checkBox1_Checked" Unchecked="checkBox1_Unchecked" />
            </Grid>
        </TabItem>
    </TabControl>
</Window>
